package com.example.chatrecommendation.bean.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author Jasmine-drs
 * @date 2024/5/21 20:56
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChattingSendDto {
	@NotNull(message="[聊天id]不能为空")
	@ApiModelProperty("聊天id")
	private Integer id;

	@ApiModelProperty("历史记录数据")
	private List<Messages> message;
}
